import 'package:fish_redux/fish_redux.dart';

import 'bottom_info/component.dart';
import 'effect.dart';
import 'reducer.dart';
import 'state.dart';
import 'view.dart';

class MyHomePage extends Page<MyHomeState, Map<String, dynamic>> {
  MyHomePage()
      : super(
          initState: initState,
          effect: buildEffect(),
          reducer: buildReducer(),
          view: buildView,
          dependencies: Dependencies<MyHomeState>(
              adapter: null,
              slots: <String, Dependent<MyHomeState>>{
                'bottom_info':
                    BottomInfoConnector() + BottomInfoComponentComponent(),
              }),
          middleware: <Middleware<MyHomeState>>[],
        );
}
